projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
103b6a9
)
headerbar: Avoid calling gtk_widget_destroy()
author
Timm Bäder
<mail@baedert.org>
Thu, 20 Feb 2020 18:29:25 +0000
(19:29 +0100)
committer
Timm Bäder
<mail@baedert.org>
Tue, 25 Feb 2020 09:43:15 +0000
(10:43 +0100)
gtk/gtkheaderbar.c
patch
|
blob
|
history
diff --git
a/gtk/gtkheaderbar.c
b/gtk/gtkheaderbar.c
index 0c708ee8510dc92f9c8593176886456778004cf1..945c3cf5a22c80fde95eb49eddb38fa879fb5c0f 100644
(file)
--- a/
gtk/gtkheaderbar.c
+++ b/
gtk/gtkheaderbar.c
@@
-802,7
+802,7
@@
gtk_header_bar_dispose (GObject *object)
if (priv->label_sizing_box)
{
- g
tk_widget_destroy
(priv->label_sizing_box);
+ g
_object_ref_sink
(priv->label_sizing_box);
g_clear_object (&priv->label_sizing_box);
}